import java.util.HashMap;
import java.util.Map;

public class Principal 
{
  Teacher teacher = new Teacher("丽华", "3年1班");
  // 查询班级信息，总分数、学生人数、平均值
  public Map<String, Object> queryClazzInfo(String clazzId) 
  {
    // 组装对象，实际业务开发会有对应的类
    Map<String, Object> mapObj = new HashMap<>();
    { 
      mapObj.put("班级", this.teacher.getClazz());
      mapObj.put("老师", this.teacher.getName());
      mapObj.put("学生人数", this.teacher.clazzStudentCount());
      mapObj.put("班级总分数", this.teacher.clazzTotalScore());
      mapObj.put("班级平均分", this.teacher.clazzAverageScore());
    }
    return(mapObj);
  }
  
  
  
}
